#ifndef __GPS__
#define __GPS__

#include "wirish.h"

class GPS
{
public:
	GPS(void);

	virtual uint8 begin(HardwareSerial *port, uint32 baud) = 0;
	virtual uint8 end(void);

	virtual void power(uint8 pin, uint8 polarity);
	virtual void powerOn(void);
	virtual void powerOff(void);

protected:
	HardwareSerial *Port;
	uint8 PowerPin;
	uint8 PowerPinPolarity;
};

#endif